package com.shop.constant;

/**
 * 消息常量
 */
public class MessageConstant {
    public static final String DELETE_GOODS_FAIL = "删除商品失败";
    public static final String DELETE_GOODS_SUCCESS = "删除商品成功";
    public static final String ADD_GOODS_SUCCESS = "新增商品成功";
    public static final String ADD_GOODS_FAIL = "该商品已存在";
    public static final String EDIT_GOODS_FAIL = "该商品已存在";
    public static final String EDIT_GOODS_SUCCESS = "编辑商品成功";
    public static final String QUERY_GOODS_SUCCESS = "查询商品成功";
    public static final String QUERY_GOODS_FAIL = "查询商品失败";
    public static final String PIC_UPLOAD_FAIL = "图片上传失败";
    public static final String PIC_UPLOAD_SUCCESS = "图片上传成功";

    public static final String ADD_GOODSKIND_FAIL = "该商品分类已存在";
    public static final String ADD_GOODSKIND_SUCCESS = "新增商品分类成功";
    public static final String QUERY_GOODSKIND_FAIL = "查询商品分类失败";
    public static final String QUERY_GOODSKIND_SUCCESS = "查询商品分类成功";
    public static final String EDIT_GOODSKIND_FAIL = "编辑商品分类失败";
    public static final String EDIT_GOODSKIND_SUCCESS = "编辑商品分类成功";
    public static final String DELETE_GOODSKIND_FAIL = "删除商品分类失败";
    public static final String DELETE_GOODSKIND_SUCCESS = "删除商品分类成功";

    public static final String ADD_USER_FAIL = "该用户已存在";
    public static final String ADD_USER_SUCCESS = "新增用户成功";
    public static final String QUERY_USER_FAIL = "查询用户失败";
    public static final String QUERY_USER_SUCCESS = "查询用户成功";
    public static final String EDIT_USER_FAIL = "该用户已存在";
    public static final String EDIT_USER_SUCCESS = "编辑用户成功";
    public static final String DELETE_USER_FAIL = "删除用户失败";
    public static final String DELETE_USER_SUCCESS = "删除用户成功";

    public static final String ADD_ADDRESS_FAIL = "该地址已存在";
    public static final String ADD_ADDRESS_SUCCESS = "新增地址成功";
    public static final String QUERY_ADDRESS_FAIL = "查询地址失败";
    public static final String QUERY_ADDRESS_SUCCESS = "查询地址成功";
    public static final String EDIT_ADDRESS_FAIL = "编辑地址失败";
    public static final String EDIT_ADDRESS_SUCCESS = "编辑地址成功";
    public static final String DELETE_ADDRESS_FAIL = "删除地址失败";
    public static final String DELETE_ADDRESS_SUCCESS = "删除地址成功";

    public static final String ADD_MANAGER_FAIL = "该管理员已存在";
    public static final String ADD_USERNAME_FAIL = "该账号已存在";
    public static final String ADD_MANAGER_SUCCESS = "新增管理员成功";
    public static final String QUERY_MANAGER_FAIL = "查询管理员失败";
    public static final String QUERY_MANAGER_SUCCESS = "查询管理员成功";
    public static final String EDIT_MANAGER_FAIL = "该管理员已存在";
    public static final String EDIT_USERNAME_FAIL = "该账号已存在";
    public static final String EDIT_MANAGER_SUCCESS = "编辑管理员成功";
    public static final String DELETE_MANAGER_FAIL = "删除管理员失败";
    public static final String DELETE_MANAGER_SUCCESS = "删除管理员成功";

    public static final String ADD_PERMISSION_FAIL = "该权限已存在";
    public static final String ADD_PERMISSION_SUCCESS = "新增权限成功";
    public static final String QUERY_PERMISSION_FAIL = "查询权限失败";
    public static final String QUERY_PERMISSION_SUCCESS = "查询权限成功";
    public static final String EDIT_PERMISSION_FAIL = "编辑权限失败";
    public static final String EDIT_PERMISSION_SUCCESS = "编辑权限成功";
    public static final String DELETE_PERMISSION_FAIL = "删除权限失败";
    public static final String DELETE_PERMISSION_SUCCESS = "删除权限成功";

    public static final String ADD_ROLE_FAIL = "该角色已存在";
    public static final String ADD_ROLE_SUCCESS = "新增角色成功";
    public static final String QUERY_ROLE_FAIL = "查询角色失败";
    public static final String QUERY_ROLE_SUCCESS = "查询角色成功";
    public static final String EDIT_ROLE_FAIL = "编辑角色失败";
    public static final String EDIT_ROLE_SUCCESS = "编辑角色成功";
    public static final String DELETE_ROLE_FAIL = "删除角色失败";
    public static final String DELETE_ROLE_SUCCESS = "删除角色成功";

    public static final String QUERY_ORDERS_SUCCESS = "查询订单成功";
    public static final String EDIT_ORDERS_FAIL = "编辑订单失败";
    public static final String EDIT_ORDERS_SUCCESS = "编辑订单成功";

    public static final String ADD_SUCCESS = "添加成功";
    public static final String ADD_FAIL = "添加失败";
    public static final String QUERY_SUCCESS = "查询成功";
    public static final String DELETE_SUCCESS = "删除成功";
}
